Skip to content

feat(filter): persist board filters (saved views + default view) - #8325

Open
heinrich-toews wants to merge 2 commits into
nextcloud:mainfrom
heinrich-toews:feat/2861-persist-board-filters
Open

feat(filter): persist board filters (saved views + default view)#8325
heinrich-toews wants to merge 2 commits into
nextcloud:mainfrom
heinrich-toews:feat/2861-persist-board-filters

Conversation

@heinrich-toews

@heinrich-toews heinrich-toews commented Aug 27, 2026

Copy link
Copy Markdown

Summary

This changeset implements the requested "Save filters" feature by letting users save deck board filters as named views and re-apply them later, plus the ability to set one saved view as the default for a board.

Saved board views

  • New BoardView entity, mapper, service and OCS API controller.
  • CRUD routes under deck/api/v1.0/views (index/create/update/delete).
  • The filter popover in Controls.vue lets you save the active filter as a named view and re-apply it.

Default view

  • ConfigService::defaultBoardView persisted per user + board.
  • New picker in DeckAppSettings.vue (per-user Default settings) to choose the default view.
  • When opening a board, the default view is applied automatically; tags are only applied where they match the current board.

Migration

  • Version11003Date20260821120000 creates oc_deck_board_views.
  • Numbered 11003, safely above the current latest 11002.

Testing steps

  1. Apply this branch and run occ upgrade (or it runs via the updater).
  2. Open a board, set a filter (label/priority/tag/assignee/…), choose Save as view and name it.
  3. Confirm the view appears in the filter popover, re-applies when clicked, and can be edited/deleted.
  4. Go to Deck settings → Default, pick the saved view as the default.
  5. Open a different board / reload: the default view is applied automatically (tags only where they match).

Note: l10n/* is intentionally not included per the project's Transifex workflow — translations are managed upstream.

Allow saving the active card filter as a named view per board and
re-apply it from the filter popover.

Signed-off-by: Heinrich Toews <ht@twx-software.de>
Let users pick one of their saved views as the default view in the Deck
settings. It is applied automatically when opening any board; tags are
only applied where they match the current board.

Signed-off-by: Heinrich Toews <ht@twx-software.de>
@heinrich-toews
heinrich-toews marked this pull request as ready for review August 27, 2026 19:59
@heinrich-toews

Copy link
Copy Markdown
Author

Hi — this is a first contribution from a fork, so the GitHub Actions workflows are pending approval. Could a maintainer approve the workflow runs so CI can execute? Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Save filters

1 participant